package Aggregation;

public class Lecture {
	// Holds the name of the lecture.
	String name;
	
	// One Lecture constructor sets its name.
	public Lecture(String aName) {
		name = aName;
	}
	
	// Print the Lecture details.
	public void printDetails() {
		System.out.println(name);
	}
}

